using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities.Auditing;
using SPACore.Phonebook.Phonebooks.Persons;
using SPACore.Phonebook.Phonebooks.PhoneNumbers;

namespace  SPACore.Phonebook.Persons.Dtos
{
    public class PersonEditDto
    {
		/// <summary>
/// Id
/// </summary>
public int? Id { get; set; }


/// <summary>
/// Name
/// </summary>
[MaxLength(AppConsts.MaxNameLength, ErrorMessage="Name超出最大长度")]
[Required(ErrorMessage="Name不能为空")]
public string Name { get; set; }


/// <summary>
/// Email
/// </summary>
[MaxLength(AppConsts.MaxEmailLength, ErrorMessage="Email超出最大长度")]
public string Email { get; set; }


/// <summary>
/// Address
/// </summary>
[MaxLength(AppConsts.MaxAddressLength, ErrorMessage="Address超出最大长度")]
public string Address { get; set; }




		
		
		
		//// custom codes 
		
        //// custom codes end
    }
}